package com.wing.bill.model.response;

import com.baomidou.mybatisplus.annotation.TableField;
import com.wing.product.model.entity.WarehouseProductionOrderDetail;
import com.wing.product.model.response.WarehouseProductionOrderVO;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.List;

@Data
public class WarehouseProcessBillDetailVO {

    @Schema(description="id")
    private Long Id;

    @Schema(description="客户编号用sel_customers_info表")
    private Long customerId;

    @Schema(description="系统捆包号 实际就是code 需要唯一")
    private String sysBundleCode;

    @Schema(description="计费开始日期（签收后开始计费）")
    private LocalDateTime startDate;

    @Schema(description="计费结束日期（出库/过户/生产时更新）")
    private LocalDateTime endDate;

    @Schema(description="账单状态 0-未结算 1-已结算 2-取消")
    private Integer billStatus;

    @Schema(description="主账单id")
    private Long warehouseBillId;

    @Schema(description="账单周期 例如 2024-01、2024-02 ")
    private String billPeriod;

    @Schema(description="账单类别 1、月结 2、手动")
    private String billType;

    @Schema(description="价格  每天多少钱，取当时的托管价格")
    private Double billPrice;

    @Schema(description="账单类型")
    private Integer transferType;

    @Schema(description="生产订单id")
    private Long warehouseOrderId;

    @Schema(description="生产订单编号")
    private String warehouseOrderCode;

    @Schema(description="品种")
    private String productVarietyName;

    @Schema(description="品牌")
    private String productBrandName;

    @Schema(description="生产商")
    private String productProducerName;

    @Schema(description="加工重量")
    private BigDecimal totalWeight;

    @Schema(description="生产订单加工明细")
    private List<WarehouseProductionOrderDetail> warehouseProductionOrderDetailList;
}
